package com.sumer.psychology.photo.application.command;

import com.sumer.psychology.common.domain.model.Author;
import com.sumer.psychology.common.port.adapter.service.AuthorCommand;

/**
 * User: zhenguang.zhu
 * Date: 2014/8/29
 * Time: 15:58
 */
public class CreateAlbumCommand implements AuthorCommand {
    private String name;
    private String description;
    private Author author;

    public CreateAlbumCommand(String name, String description, Author author) {
        this.name = name;
        this.description = description;
        this.author = author;
    }

    public String name() {
        return name;
    }

    public String description() {
        return description;
    }

    @Override
    public void setAuthor(Author author) {
        this.author = author;
    }

    public Author author() {
        return author;
    }
}
